Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Working With QuickDraw GX Print Files


GXGetPrintFileJob

You can use the GXGetPrintFileJob function to obtain the job object associated with a particular print file object.

gxJob GXGetPrintFileJob (gxPrintFile aPrintFile);
aPrintFile

A reference to the print file object whose job object you wish to obtain.
function result
A reference to a job object.
DESCRIPTION
The GXGetPrintFileJob function returns a reference to the job object that was associated with the print file object when you called the GXOpenPrintFile function. If you save the reference when you call the GXOpenPrintFile function, you do not need to call this function.

This function is useful when you need to access or modify information in the job object associated with a print file object. For example, you can use this function to obtain the job object and then call GXGetJobError for the job object to test for an error condition associated with the print file.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help